package com.zone.service.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * 配钞任务对象 zone_atm_denomi_task
 * 
 * @author liuyang
 * @date 2025-11-19
 */
public class AtmDenomiTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ATM配钞任务id，自增 */
    private Long id;

    /** 任务执行日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务执行日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskDate;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private String outType;

    /** 路线ID */
    @Excel(name = "路线ID")
    private Long routeId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 钞箱编号 */
    @Excel(name = "钞箱编号")
    private String cassetteId;

    /** 加钞金额 */
    @Excel(name = "加钞金额")
    private BigDecimal amount;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String status;

    /** 配钞开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "配钞开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date denomiStartTime;

    /** 配钞结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "配钞结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date denomiEndTime;

    /** 配钞员工id */
    @Excel(name = "配钞员工id")
    private Long demoniBy;

    /** 钥匙员/业务员A ID，关联zone_employees */
    @Excel(name = "钥匙员/业务员A ID，关联zone_employees")
    private Long lockerId;

    /** 密码员/业务员B ID，，关联zone_employees */
    @Excel(name = "密码员/业务员B ID，，关联zone_employees")
    private Long pwdId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTaskDate(Date taskDate) 
    {
        this.taskDate = taskDate;
    }

    public Date getTaskDate() 
    {
        return taskDate;
    }

    public void setOutType(String outType) 
    {
        this.outType = outType;
    }

    public String getOutType() 
    {
        return outType;
    }

    public void setRouteId(Long routeId) 
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }

    public void setCassetteId(String cassetteId) 
    {
        this.cassetteId = cassetteId;
    }

    public String getCassetteId() 
    {
        return cassetteId;
    }

    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDenomiStartTime(Date denomiStartTime) 
    {
        this.denomiStartTime = denomiStartTime;
    }

    public Date getDenomiStartTime() 
    {
        return denomiStartTime;
    }

    public void setDenomiEndTime(Date denomiEndTime) 
    {
        this.denomiEndTime = denomiEndTime;
    }

    public Date getDenomiEndTime() 
    {
        return denomiEndTime;
    }

    public void setDemoniBy(Long demoniBy) 
    {
        this.demoniBy = demoniBy;
    }

    public Long getDemoniBy() 
    {
        return demoniBy;
    }

    public void setLockerId(Long lockerId) 
    {
        this.lockerId = lockerId;
    }

    public Long getLockerId() 
    {
        return lockerId;
    }

    public void setPwdId(Long pwdId) 
    {
        this.pwdId = pwdId;
    }

    public Long getPwdId() 
    {
        return pwdId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskDate", getTaskDate())
            .append("outType", getOutType())
            .append("routeId", getRouteId())
            .append("taskId", getTaskId())
            .append("cassetteId", getCassetteId())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("denomiStartTime", getDenomiStartTime())
            .append("denomiEndTime", getDenomiEndTime())
            .append("demoniBy", getDemoniBy())
            .append("lockerId", getLockerId())
            .append("pwdId", getPwdId())
            .toString();
    }
}
